<div class="col-sm-12 mt20">

        <div class="panel panel-default">
            <div class="panel-body" ng-keyup="myKeyup($event)">
                <div class="col-sm-2">
                    <input type="text" class="form-control" placeholder="车牌" ng-model="pageInfo.num_plate">
                </div>
                <div class="col-sm-2">
                    <input type="text" class="form-control" placeholder="机构名称" ng-model="pageInfo.company_name">
                </div>
                <div class="col-sm-2">
                </div>
                <div class="col-sm-2">
                </div>
                <div class="col-sm-2">
                    <button class="btn btn-info search btn-block" ng-click="setBusSeats()" ng-show="!pageInfo.type">分配车辆</button>
                </div>
                <div class="col-sm-2">
                    <button class="btn btn-info search btn-block" ng-click="loadlist()">立即搜索</button>
                </div>
            </div>
    
            <div class="panel-body">
                <table class="table table-striped table-bordered dataTable table-condensed tree_table" style="table-layout:fixed">
                    <thead>
                        <tr>
                            <th class="col-md-1 text-center">出游日期</th>
                            <th class="col-md-1 text-center">车牌号</th>
                            <th class="col-md-1 text-center">标号</th>
                            <th class="col-md-1 text-center">所属公司</th>
                            <th class="col-md-1 text-center">座位</th>
                            <th class="col-md-1 text-center">剩余座位</th>
                            <th class="col-md-1 text-center">联系人</th>
                            <th class="col-md-1 text-center">电话</th>
                            <th class="col-md-1 text-center">备注</th>
                            <th class="col-md-1 text-center" ng-show="pageInfo.type">操作</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr ng-repeat="bus in busList">
                            <td class="text-center">{{bus.tour_date}}</td>
                            <td class="text-center">{{bus.num_plate}}</td>
                            <td class="text-center">{{bus.tip_no}}</td>
                            <td class="text-center">{{bus.company}}</td>
                            <td class="text-center">{{bus.seats_num}}</td>
                            <td class="text-center">{{bus.surplus_seats}}</td>
                            <td class="text-center">{{bus.name}}</td>
                            <td class="text-center">{{bus.mobile}}</td>
                            <td class="text-center">{{bus.note}}</td>
                            <td class="text-center" ng-show="pageInfo.type">
                                <a class="btn btn-sm btn-success" ng-click="edit(bus)">修改</a>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>
    
            <div class="text-right" style="background-color: white; margin-right: 30px">
                <pagination total-items="totalItems" ng-model="currentPage" ng-change="loadlist()" previous-text="上一页" next-text="下一页" first-text="首页"
                    last-text="尾页" max-size="5" boundary-links="true" rotate="false" items-per-page="itemsPerPage" class="m-t-none m-b"></pagination>
            </div>
    
        </div>
    </div>